<#import "../../layout.html" as c>
<#import "../../list_layout.html" as list>
<#assign alertList = []/>
<@c.html title="Index">
        <!================== 开始页面级CSS调用 ================== &ndash;&gt;-->
        <!-- 日历控件 -->
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/WdatePicker.css" rel="stylesheet"/>
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/default/datepicker.css" rel="stylesheet"/>
        <!-- ================== 结束页面级CSS调用 ================== &ndash;&gt;-->

        <@list.html title="提现审核" subTitle="提现审核" alertList=alertList permi="sys:cash:save" addBtn=false searchHint="请输入用户名/手机号/订单号进行搜索">

        <!-- 开始用户权限参数 &ndash;&gt;-->
        <@shiro.hasPermission name="sys:cash:audit">
        <input type="hidden" id="cashAudit" value="1"/>
        </@shiro.hasPermission>
        <!-- 结束用户权限参数 &ndash;&gt;-->


        <!-- 开始提现审核模态窗口 -->
        <div class="modal fade" id="auditModal" tabindex="-1" role="dialog">
            <div class="modal-dialog modal-lg">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h4 class="modal-title">提现审核</h4>
                    </div>
                    <div class="modal-body">
                        <form class="form-horizontal form-bordered p-0" action="${adminRoot}cash/json/audit" id="auditForm" method="post" autocomplete="off" data-parsley-validate="true">
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">姓名&nbsp;:</label>
                                <div class="col-md-9 col-sm-8">
                                    <input type="text"  name="ui.realName" class="form-control"  autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">手机号&nbsp;:</label>
                                <div class="col-md-9 col-sm-8">
                                    <input type="text" name="u.mobile" value="" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">提现金额&nbsp;:</label>
                                <div class="col-md-9 col-sm-8">
                                    <input type="text" name="amount" value="" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true"/>
                                </div>
                            </div>
                            <!--<div class="form-group">-->
                                <!--<label class="control-label col-md-2 col-sm-3">手续费&nbsp;:</label>-->
                                <!--<div class="col-md-9 col-sm-8">-->
                                    <!--<input type="text" name="fee" value="" class="form-control"  autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true"/>-->
                                <!--</div>-->
                            <!--</div>-->
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">申请时间&nbsp;:</label>
                                <div class="col-md-9 col-sm-8">
                                    <input type="text" class="form-control J-date-start"  nc-format=""  name="createTimeStr" format="yyyy-MM-dd HH:mm:ss" readonly="true">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">审核<i class="f-s-14 text-danger">*</i>&nbsp;: </label>
                                <div class="col-md-9 col-sm-8">
                                    <input type="checkbox" class="status" autocomplete="off"
                                           data-input-name="auditStatus"
                                           data-size="small"
                                           data-on-color="primary"
                                           data-on-text="通过"
                                           data-off-text="不通过"
                                           data-input-true="1"
                                           data-input-false="2"
                                           checked/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">审核备注<i class="f-s-14 text-danger">*</i>&nbsp;: </label>

                                <div class="col-md-9 col-sm-8">
                                    <textarea id="remark" name="remark" class="form-control" rows="5" placeholder="请输入审核备注信息..." autocomplete="off" data-tip="tooltip" data-placement="auto" data-original-title="必填项，输入内容小于50个字。"  maxlength="50" data-parsley-required="true"></textarea>
                                </div>
                            </div>
                            <input type="hidden" name="id">
                            <input type="hidden" name="channel" value="5">
                        </form>
                    </div>
                    <div class="modal-footer">
                        <a href="javascript:;" class="btn btn-white" data-dismiss="modal">放弃操作</a><a href="javascript:;" class="btn btn-success" data-loading-text="Loading..." nc-ajax-submit-target="auditForm" nc-ajax-submit>确认提交</a>
                    </div>
                </div>
            </div>
        </div>
        <!-- 结束提现审核模态窗口 -->

</@list.html>
<!-- ================== 开始页面级JavaScrip调用 ================== &ndash;&gt;-->
<!-- 表单checkbox项 -->
<script src="${pluginsRoot}bootstrap-switch/bootstrap-switch.min.js"></script>
<!-- 日历控件 -->
<script src="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/WdatePicker.js" defer="defer"></script>
<script src="${jsRoot}amount/cash.handle.js"></script>
<!-- ================== 结束页面级JavaScrip调用 ================== -->
</@c.html>